<include file="public@header" />
</head>
<body>
	<div class="wrap">
		<form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('user/adminIndex/score_change')}">
			<div class="form-group">
				<label class="col-sm-2 control-label"><span class="form-required">*</span>动作</label>
				<div class="col-md-6 col-sm-10">
					<label class="checkbox-inline">
						<input value="add" type="radio" name="act" checked>增加
					</label>
					<label class="checkbox-inline">
						<input value="subtract" type="radio" name="act">减少
					</label>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label"><span class="form-required">*</span>积分</label>
				<div class="col-md-6 col-sm-5">
					<input type="number" class="form-control" name="change">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label"><span class="form-required">*</span>原因</label>
				<div class="col-md-6 col-sm-5">
					<input type="text" class="form-control" name="description">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">备注</label>
				<div class="col-md-6 col-sm-5">
					<input type="text" class="form-control" name="remark">
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
					<input type="hidden" name="user_id" value="{:input('user_id')}">
					<button type="submit" class="btn btn-primary js-ajax-submit">提交</button>
					<a class="btn btn-default" href="{:url('user/adminIndex/score',array('user_id'=>input('user_id')))}">{:lang('BACK')}</a>
				</div>
			</div>
		</form>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>